home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
emac16as.arc
/
MINTLAST.ASM
< prev
next >
Wrap
Assembly Source File
|
1990-04-01
|
2KB
|
78 lines
include memory.def
code segment public
public lastcode
lastcode label byte
code ends
_DATA segment public
_DATA ends
data segment public
db -1 ;any non-zero value will do here.
public OUTPATSIZE, outpat
OUTPATSIZE equ 200
outpat db OUTPATSIZE dup(?)
public stackp
db 256 dup(055h,0aah)
stackp label byte
public lomem, lomem_end
lomem label byte
db '#(rd)#(ow,(',CR,LF
db 'Freemacs, a programmable editor - Version )##(lv,vn)(',CR,LF
db 'Copyright (C) Russell Nelson 1986-1990',CR,LF
db '))'
db '#(ds,Farglist,(SELF,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9))'
db '#(ds,Fsearch-path,(#(SELF-do,##(fm,env.PATH,;,(##(gn,env.PATH,1000))))'
db '#(rs,env.PATH)))'
db '#(mp,Fsearch-path,#(Farglist))'
db '#(ds,Fsearch-path-do,(#(==,arg1,,,('
db ' #(==,#(ff,arg1\emacs.ed,;),,('
db ' #(SELF,##(fm,env.PATH,;,(##(gn,env.PATH,1000))))'
db ' ),(#(ds,env.EMACS,arg1\)))'
db '))))'
db '#(mp,Fsearch-path-do,#(Farglist))'
db '#(ev)'
db '#(n?,env.EMACS,('
db ' #(mp,env.EMACS,,/)'
db ' #(ds,env.EMACS,##(env.EMACS,\))'
db ' #(gn,env.EMACS,#(--,#(nc,##(env.EMACS)),1))'
db ' #(==,##(go,env.EMACS)#(rs,env.EMACS),\,,('
db ' #(ds,env.EMACS,##(env.EMACS)\)'
db ' ))'
db '))'
db '#(n?,env.EMACS,,(#(Fsearch-path)))'
db '#(n?,env.EMACS,,(#(==,#(ff,\emacs\emacs.ed,;),,,(#(ds,env.EMACS,\emacs\)))))'
db '#(an,Loading #(env.EMACS)emacs.ed...)'
db '#(==,#(ll,#(env.EMACS)emacs.ed),,('
db ' #(an,Starting editor...)'
db ' #(rf,#(env.EMACS)emacs.min)'
db ' #(sp,[)#(rm,])#(dm,])'
db ' #(##(lib-name)&setup)'
db '),('
db ' #(an)'
db ' #(ow,(',CR,LF
db 'Cannot find emacs.ed - Set the environment string EMACS to the subdirectory',CR,LF
db 'containing the Freemacs .ed files. For example, EMACS=c:\freemacs\',CR,LF
db 'Press any key to return to DOS...))'
db ' #(it,10000)#(hl,1)'
db '))'
db ')' ;this is the sentinel that marks the end of the active string.
lomem_end label byte
data ends
bufseg segment public
public bufseg_size
bufseg_size equ $
bufseg ends
end